//
//  BJTipHeaderTableViewCell.m
//  DangXiao
//
//  Created by APPLE on 16/12/6.
//  Copyright © 2016年 APPLE. All rights reserved.
//

#import "BJTipHeaderTableViewCell.h"

@implementation BJTipHeaderTableViewCell

-(void)initUI{
    _redLabel = [Utils labelWithTitle:@"" titleFontSize:10 textColor:ClearColor backgroundColor:BaseColor alignment:1];
    [self addSubview:_redLabel];
    [_redLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(BILIWIDTH(10));
        make.top.mas_equalTo(BILIHEIGHT(10));
        make.bottom.mas_equalTo(-BILIHEIGHT(10));
        make.width.mas_equalTo(2);
    }];
    
    _nameLabel = [Utils labelWithTitle:@"时政要闻" titleFontSize:15 textColor:BlackTextColor backgroundColor:ClearColor alignment:1];
    [self addSubview:_nameLabel];
    [_nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_redLabel.mas_right).offset(BILIWIDTH(10));
        make.top.mas_equalTo(BILIHEIGHT(10));
        make.bottom.mas_equalTo(-BILIHEIGHT(10));
    }];
    
    _moreLabel = [Utils labelWithTitle:@"更多 >" titleFontSize:13 textColor:GrayTextColor backgroundColor:ClearColor alignment:1];
    [self addSubview:_moreLabel];
    [_moreLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.mas_equalTo(-BILIWIDTH(10));
        make.top.mas_equalTo(BILIHEIGHT(10));
        make.bottom.mas_equalTo(-BILIHEIGHT(10));
    }];
    
    


}
@end
